<script>

	export default {
		onLaunch: function() {
			console.log('App Launch')
      this.getSystemInfoSync()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
    methods: {
      getSystemInfoSync () {
        try {
            const res = uni.getSystemInfoSync();
            this.$store.commit('app/UPDATE_SYSTEM_INFO', res)
        } catch (e) {
            // error
        }
      }
    }
	}
</script>

<style lang="scss">
	/*每个页面公共css */
  @import "uview-ui/index.scss";
  @import "./static/font/iconfont.css";
  page {
    background: #f4f4f4;
    height: 100%;
  }
</style>
